#include <stdlib.h>
#include <stdio.h>
#include "/usr/include/lpsolve/lp_lib.h"
#include "tsp_data.h"
#include "bacut.h"

int main(int argc, char *argv[]){
  TSP_DATA *d = (TSP_DATA *)malloc(sizeof(TSP_DATA));
  BACUT *bc = (BACUT *)malloc(sizeof(BACUT));

  tsp_data_read(d, argv[1]);
  
  bacut_init(d, bc);
  
  bacut_run(d, bc);

  bacut_free(bc);

  tsp_data_free(d);

  free(d);
  free(bc);
}
